<template>
  <div clas="tabbar-container">
    <!-- 顶部部分 -->
    <nav class="mui-bar mui-bar-tab">
      <router-link class="mui-tab-item-zyg" to="/home">
        <span class="mui-icon mui-icon-home"></span>
        <span class="mui-tab-label">今日上新</span>
      </router-link>
      <router-link class="mui-tab-item-zyg" to="/dingdong">
        <span class="mui-icon mui-icon-extra mui-icon-extra-outline"></span>
        <span class="mui-tab-label">叮咚抢</span>
      </router-link>
      <router-link class="mui-tab-item-zyg" to="/speack">
        <span class="mui-icon mui-icon-chatbubble"></span>
        <span class="mui-tab-label">小编说</span>
      </router-link>
      <router-link class="mui-tab-item-zyg" to="/person">
        <span class="mui-icon mui-icon-contact mui-icon-icon-contact-filled"></span>
        <span class="mui-tab-label">我的</span>
      </router-link>
    </nav>
  </div>
</template>

<script>

export default {};
</script>

<style lang="scss" scoped>
.tabbar-container {
  z-index: 999999;
  padding-bottom: 40px;
  overflow-x: hidden;
  .icon {
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 35px;
    border-radius: 50%;
    background-color: rgba(248, 63, 171, 0.575);
    position: fixed;
    right: 20px;
    bottom: 110px;
    z-index: 9999;
    color: #444;
  }
}
/**
  路由动画
   */
.v-enter {
  opacity: 0;
  transform: translateX(100%);
}
.v-leave-to {
  transform: translateX(-100%);
  position: absolute;
}
.v-enter-active,
.v-leave-active {
  transition: all 0.5s ease;
}

.mui-bar-tab .mui-tab-item-zyg.mui-active {
  color: #ff485f;
}
.mui-bar-tab .mui-tab-item-zyg {
  display: table-cell;
  overflow: hidden;
  width: 1%;
  height: 50px;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #938386;
}
.mui-bar-tab .mui-tab-item-zyg .mui-icon {
  top: 3px;
  width: 24px;
  height: 24px;
  padding-top: 0;
  padding-bottom: 0;
}
.mui-bar-tab .mui-tab-item-zyg .mui-icon ~ .mui-tab-label {
  font-size: 11px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}
</style>
